package matlap.database.dao;

import java.util.List;

import matlap.shared.School;

public interface SchoolDAO {

	int getSchoolsNumber();

	List<School> getSchools();

	List<School> selectSchoolsName();

	List<School> selectSchoolsLocality();

	List<School> getSchoolsBy(String name, String locality);

	int getSchoolId(String name);

	int getLocalityId(String name);

	public void insertSchool(String schoolName, String localityName);

	List<String> selectLocality();

	List<String> selectSchoolsNameByLocality(String localityName);
}
